package com.dyna.digit.process.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @description digit_declare_amount
 * @author zcw
 * @date 2024-09-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("digit_declare_amount")
public class DigitDeclareAmount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer id;


    @ApiModelProperty("项目id")
    @NotNull(message = "申报金额项目id不能为空")
    private Integer projectId;


    @ApiModelProperty("金额类型")
    private Integer type;


    @ApiModelProperty("总金额")
    private BigDecimal projTotalAmount;


    @ApiModelProperty("年度金额")
    private BigDecimal projYearAmount;


    @ApiModelProperty("财政投资")
    private BigDecimal projFinalInvestAmount;


    @ApiModelProperty("上级补助")
    private BigDecimal projSuperiorSubsidyAmount;


    @ApiModelProperty("单位自筹")
    private BigDecimal projSelfFinanceAmount;


    @ApiModelProperty("其他")
    private BigDecimal projOtherAmount;

}
